﻿@using Dentiste.Domain
@using Dentiste.Domain.Interfaces
@{
    ViewBag.Title = "Gestion inami";
    ViewBag.BodyId = "inamiManager";
    Layout = "../_Layout.cshtml";
}

@if (!String.IsNullOrEmpty(Request.QueryString["success"]))
{
    if (Request.QueryString["success"] == "true")
    {
        <div class="alert alert-success">
            Code ajout&eacute; avec <strong>succ&egrave;s</strong> !
        </div>
    }
    else
    {
        <div class="alert alert-error">
            Une <strong>erreur</strong> est survenue. Le code existe-t-il d&eacute;j&agrave; ?
        </div>
    }
}

<h2>Ajouter un nouveau code Inami</h2>

<form action="#">
    <button type="submit" class="btn add-btn" id="AddInami">Ajouter</button>
    <fieldset>
        <legend>Informations de base</legend>
        <label>Code</label>
        <div class="control-group">
            <input type="text" id="Code" placeholder="Code inami"/>
            <span class="help-inline">Le champs est vide</span>
        </div>
        
        <label>Libel&eacute;</label>
        <div class="control-group">
            <input type="text" id="Label" placeholder="Libelé"/>
            <span class="help-inline">Le champs est vide</span>
        </div>
        
        <legend>Tarification</legend>
        <div class="row">
            <div class="control-group span3">
                <input type="text" id="Prix1" placeholder="Prix 1">
                <span class="help-inline" style="display: none;">Le champs est vide</span>
            </div>
            <div class="control-group span3">
                <input type="text" id="Prix2" placeholder="Prix 2">
                <span class="help-inline" style="display: none;">Le champs est vide</span>
            </div>
            <div class="control-group span3">
                <input type="text" id="Prix3" placeholder="Prix 3">
                <span class="help-inline" style="display: none;">Le champs est vide</span>
            </div>
        </div>
    </fieldset>
</form>
@section Menu {
    <ul class="nav nav-pills">
        <li><a href="../">Encoder une d&eacute;claration de soin</a></li>
        <li class="dropdown active">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                G&eacute;rer les codes Inami
                <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
                <li class="active"><a href="javascript:void(0)">Ajouter un nouveau code Inami</a></li>
                <li><a href="./Edit">Modifier un code Inami</a></li>
                <li><a href="./Delete">Supprimer un code Inami</a></li>
            </ul>
        </li>
    </ul>
}